using MyHomeworkWebAPi.Models.DTOs;

namespace MyHomeworkWebAPi.Services;

public interface IProductCategoryService
{
    Task<List<ProductCategoryDTO>> GetAllAsync();
    Task<ProductCategoryDTO?> GetByIdAsync(Guid id);
    Task<ProductCategoryDTO> CreateAsync(ProductCategoryDTO category);
    Task<ProductCategoryDTO?> UpdateAsync(Guid id, ProductCategoryDTO category);
    Task<bool> DeleteAsync(Guid id);
} 